//
//  MTClubSendGiftCountView.swift
//  MT
//
//  Created by ooops on 2020/5/10.
//  Copyright © 2020 张强. All rights reserved.
//

import UIKit
import MTCategory

class MTClubSendGiftCountView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
        makeConstraint()
        backgroundColor = .white
    }
    
    lazy var contentTextField: UITextField = {
        let txf = UITextField()
        txf.textColor = UIColor.text.x1d1a1a
        txf.font = PingFangSCMediumFont(14)
        txf.layer.borderColor = UIColor.text.x9b9b9b.cgColor
        txf.layer.borderWidth = 1
        txf.layer.cornerRadius = 3
        txf.placeholder = "可输入自定义数量"
        return txf
    }()
    
    private func setupUI() {
        addSubview(contentTextField)
    }
    
    private func makeConstraint() {
        contentTextField.snp.makeConstraints { (make) in
            make.bottom.equalToSuperview().offset(-ScreenBottomExtraOffset)
            make.left.equalToSuperview().offset(10)
            make.right.equalToSuperview().offset(-10)
            make.height.equalTo(30)
        }
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
    }


}
